<template>
    <el-button type="text" @click="click">入/出参</el-button>
</template>

<script>
export default {
    props: {
        row: Object,
        column: Object,
        field: String,
        rowIndex: Number,
        callback: Function
    },
    methods: {
        click () {
            typeof this.callback === 'function' && this.callback({ row: this.row, columns: this.column, field: this.field, rowIndex: this.rowIndex, handlerType: 'click' })
        }
    }
}
</script>
